package com.example.notelite;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import java.text.SimpleDateFormat;
import java.util.Date;

public class editor_to extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_editor_to);
    }
    public String getTime(){
        SimpleDateFormat format=new SimpleDateFormat("YYYY,yy,DD_HH:mm;ss");
        Date dateure=new Date();
        String str=format.format(dateure);
        return str;
    }
}
